import { defineConfig } from 'vite'

export default defineConfig({
  server: {
    host: true,
    port: 3000
  },
  build: {
    outDir: 'dist',
    rollupOptions: {
      output: {
        manualChunks: {
          three: ['three'],
          kokomi: ['kokomi.js'],
          vendor: ['gsap', 'dat.gui']
        }
      }
    }
  }
})
